package com.ieducc.ffmpegdemo.ffmpegutil;


public class MultimediaInfo {


    private String format = null;

    private long videoSize = 0;


    private long duration = -1;


    private AudioInfo audio = null;


    private VideoInfo video = null;


    public String getFormat() {
        return format;
    }


    void setFormat(String format) {
        this.format = format;
    }


    public long getDuration() {
        return duration;
    }

    void setDuration(long duration) {
        this.duration = duration;
    }


    public AudioInfo getAudio() {
        return audio;
    }


    void setAudio(AudioInfo audio) {
        this.audio = audio;
    }


    public VideoInfo getVideo() {
        return video;
    }

    void setVideo(VideoInfo video) {
        this.video = video;
    }

    public long getVideoSize() {
        return videoSize;
    }

    public void setVideoSize(long videoSize) {
        this.videoSize = videoSize;
    }

    public String toString() {
        return getClass().getName() + " (format=" + format + ", duration="
                + duration + ", video=" + video + ", audio=" + audio + ", videoSize=" + videoSize + ")";
    }

}
